package org.zjt.auth.api;

import java.util.HashMap;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ErrorController {
	
	 @RequestMapping(value = "/showError")
	    public Map<String,String> show(){
		 Map<String,String> map =new HashMap<String,String>();
		 map.put("name", "zhang");
		 map.put("view", "error restController");
		 Object obj=null;
		 obj.toString();
	     return map;
	  }
}
